<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>
BaseCommand class
</TITLE>

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../resources/stylesheet.css" TITLE="Style">
</HEAD>

<BODY BGCOLOR="white">


<!-- ========= START OF TOP NAVBAR ======= -->

<table border="0" width="100%">
<tr>
<td width="50%">
<p align="left">
<a href="http://mvvmbasics.mobilemotion.eu/" target="_blank" title="MVVMbasics Homepage"><img src="../../resources/logo_mvvmbasics.png" alt="MVVMbasics Logo" border="0"></a>
</p>
</td>
<td width="50%">
<p align="right">
<a href="http://www.mobilemotion.eu/" target="_blank" title="mobilemotion.eu Homepage"><img src="../../resources/logo_mobilemotion.png" alt="mobilemotion.eu Logo" border="0"></a>
</p>
</td>
</tr>
</table>

<HR>

<p><a href="../../index.htm" title="MVVMbasics Class Reference Homepage">Back to Class Reference home page</a></p>

<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">MVVMbasics.Attributes</FONT>
<BR>
Class BaseCommand
</H2>

<CODE>
<A HREF="http://msdn.microsoft.com/en-us/library/system.windows.input.icommand%28v=vs.110%29.aspx" target="_blank" title="System.Windows.Input.ICommand">System.Windows.Input.ICommand</A>
<br>
&nbsp;&nbsp;<IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>MVVMbasics.Commands.BaseCommand</B>
<br>&nbsp;
</CODE>
<HR>
<CODE>
&nbsp;<br>
public class <B>BaseCommand</B> : <A HREF="http://msdn.microsoft.com/en-us/library/system.windows.input.icommand%28v=vs.110%29.aspx" target="_blank" title="System.Windows.Input.ICommand">ICommand</A>
</CODE>

<P>
Simple delegate command all actual commands can be derived from. Works with and without parameters.
</P>

<hr>

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>

<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>public&nbsp;</CODE></FONT></TD>
<TD>
<CODE><B><a href="#BaseCommand(Action)">BaseCommand</a></B>(<A HREF="http://msdn.microsoft.com/en-us/library/system.action%28v=vs.110%29.aspx" target="_blank" title="System.Action">Action</A> execute)</CODE>
<BR>
<span class="Indented">Constructor that creates a Command and registers a parameterless method to it.</span>
</TD>
</TR>

<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>public&nbsp;</CODE></FONT></TD>
<TD>
<CODE><B><a href="#BaseCommand(Action,Expression(Func(bool)),INotifyPropertyChanged,Expression(Func(object)))">BaseCommand</a></B>(<A HREF="http://msdn.microsoft.com/en-us/library/system.action%28v=vs.110%29.aspx" target="_blank" title="System.Action">Action</A> execute, <a href="http://msdn.microsoft.com/en-us/library/bb335710%28v=vs.110%29.aspx" target="_blank" title="System.Linq.Expressions.Expression<TDelegate>">Expression</a>&lt;<a href="http://msdn.microsoft.com/en-us/library/bb534960%28v=vs.110%29.aspx" target="_blank" title="System.Func<TResult>">Func</a>&lt;bool&gt;&gt; canExecute, <A HREF="http://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged%28v=vs.110%29.aspx" target="_blank" title="System.ComponentModel.INotifyPropertyChanged">INotifyPropertyChanged</A> owner, params <a href="http://msdn.microsoft.com/en-us/library/bb335710%28v=vs.110%29.aspx" target="_blank" title="System.Linq.Expressions.Expression<TDelegate>">Expression</a>&lt;<a href="http://msdn.microsoft.com/en-us/library/bb534960%28v=vs.110%29.aspx" target="_blank" title="System.Func<TResult>">Func</a>&lt;object&gt;&gt;[] dependsOnProperties)</CODE>
<BR>
<span class="Indented">Constructor that creates a Command with a <code>CanExecute</code> condition and registers a parameterless method to it.</span>
</TD>
</TR>

<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>public&nbsp;</CODE></FONT></TD>
<TD>
<CODE><S><B><a href="#BaseCommand(Action,Func(bool))">BaseCommand</a></B>(<A HREF="http://msdn.microsoft.com/en-us/library/system.action%28v=vs.110%29.aspx" target="_blank" title="System.Action">Action</A> execute, <A HREF="http://msdn.microsoft.com/en-us/library/bb534960%28v=vs.110%29.aspx" target="_blank" title="System.Func<TResult>">Func</A>&lt;bool&gt; canExecute)</S></CODE>
<BR>
<span class="Indented">Constructor that creates a Command with a <code>CanExecute</code> condition and registers a parameterless method to it.</span>
<BR>
<span class="Obsolete">Deprecated. Use Constructor <code>BaseCommand(Action execute, Expression&lt;Func&lt;bool&gt;&gt; canExecute, INotifyPropertyChanged owner, params Expression&lt;Func&lt;object&gt;&gt;[] dependsOnProperties)</code> or Model's method <code>CreateCommand(Action execute, Expression&lt;Func&lt;bool&gt;&gt; canExecute, params Expression&lt;Func&lt;object&glt;&gt;[] dependsOnProperties)</code> instead.</span>
</TD>
</TR>

<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>public&nbsp;</CODE></FONT></TD>
<TD>
<CODE><B><a href="#BaseCommand(Action(object))">BaseCommand</a></B>(<A HREF="http://msdn.microsoft.com/en-us/library/018hxwa8%28v=vs.110%29.aspx" target="_blank" title="System.Action<T>">Action</A>&lt;object&gt; execute)</CODE>
<BR>
<span class="Indented">Constructor that creates a Command and registers a method with one parameter of type <code>object</code> to it.</span>
</TD>
</TR>

<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>public&nbsp;</CODE></FONT></TD>
<TD>
<CODE><B><a href="#BaseCommand(Action,Expression(Func(object,bool)),INotifyPropertyChanged,Expression(Func(object)))">BaseCommand</a></B>(<A HREF="http://msdn.microsoft.com/en-us/library/018hxwa8%28v=vs.110%29.aspx" target="_blank" title="System.Action<T>">Action</A>&lt;object&gt; execute, <a href="http://msdn.microsoft.com/en-us/library/bb335710%28v=vs.110%29.aspx" target="_blank" title="System.Linq.Expressions.Expression<TDelegate>">Expression</a>&lt;<a href="http://msdn.microsoft.com/en-us/library/bb534960%28v=vs.110%29.aspx" target="_blank" title="System.Func<TResult>">Func</a>&lt;object, bool&gt;&gt; canExecute, <A HREF="http://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged%28v=vs.110%29.aspx" target="_blank" title="System.ComponentModel.INotifyPropertyChanged">INotifyPropertyChanged</A> owner, params <a href="http://msdn.microsoft.com/en-us/library/bb335710%28v=vs.110%29.aspx" target="_blank" title="System.Linq.Expressions.Expression<TDelegate>">Expression</a>&lt;<a href="http://msdn.microsoft.com/en-us/library/bb534960%28v=vs.110%29.aspx" target="_blank" title="System.Func<TResult>">Func</a>&lt;object&gt;&gt;[] dependsOnProperties)</CODE>
<BR>
<span class="Indented">Constructor that creates a Command with a <code>CanExecute</code> condition and registers a method with one parameter of type <code>object</code> to it.</span>
</TD>
</TR>

<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>public&nbsp;</CODE></FONT></TD>
<TD>
<CODE><S><B><a href="#BaseCommand(Action(object),Predicate(object))">BaseCommand</a></B>(<A HREF="http://msdn.microsoft.com/en-us/library/018hxwa8%28v=vs.110%29.aspx" target="_blank" title="System.Action<T>">Action</A>&lt;object&gt; execute, <A HREF="http://msdn.microsoft.com/en-us/library/bfcke1bz%28v=vs.110%29.aspx" target="_blank" title="System.Predicate<T>">Predicate</A>&lt;object&gt; canExecute)</S></CODE>
<BR>
<span class="Indented">Constructor that creates a Command with a <code>CanExecute</code> condition and registers a method with one parameter of type <code>object</code> to it.</span>
<BR>
<span class="Obsolete">Deprecated. Use Constructor <code>BaseCommand(Action execute, Expression&lt;Func&lt;object, bool&gt;&gt; canExecute, INotifyPropertyChanged owner, params Expression&lt;Func&lt;object&gt;&gt;[] dependsOnProperties)</code> or Model's method <code>CreateCommand(Action execute, Expression&lt;Func&lt;object, bool&gt;&gt; canExecute, params Expression&lt;Func&lt;object&gt;&gt;[] dependsOnProperties)</code> instead.</span>
</TD>
</TR>
</TABLE>
&nbsp;

<!-- ======== EVENT SUMMARY ======== -->

<A NAME="event_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Event Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>public event <A HREF="http://msdn.microsoft.com/en-us/library/system.eventhandler%28v=vs.110%29.aspx" target="_blank" title="System.EventHandler">EventHandler</A>&nbsp;</CODE></FONT></TD>
<TD>
<CODE><B>CanExecuteChanged</B></CODE>
<BR>
<span class="Indented">Event indicating that the <code>CanExecute</code> condition might have changed and must be re-evaluated.</span>
</TD>
</TR>
</TABLE>
&nbsp;

<!-- ======== METHOD SUMMARY ======== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>void&nbsp;</CODE></FONT></TD>
<TD>
<CODE><B><a href="#NotifyCanExecuteChanged()">NotifyCanExecuteChanged</a></B>()</CODE>
<BR>
<span class="Indented">Fires the <code>CanExecuteChanged</code> event, forcing the <code>CanExecute</code> condition to be re-evaluated.</span>
</TD>
</TR>

<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>bool&nbsp;</CODE></FONT></TD>
<TD>
<CODE><B><a href="#CanExecute()">CanExecute</a></B>()</CODE>
<BR>
<span class="Indented">Evaluates the <code>CanExecute</code> condition.</span>
</TD>
</TR>

<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>bool&nbsp;</CODE></FONT></TD>
<TD>
<CODE><B><a href="#CanExecute(object)">CanExecute</a></B>(object parameter)</CODE>
<BR>
<span class="Indented">Evaluates the <code>CanExecute</code> condition.</span>
</TD>
</TR>

<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>void&nbsp;</CODE></FONT></TD>
<TD>
<CODE><B><a href="#Execute()">Execute</a></B>()</CODE>
<BR>
<span class="Indented">Calls the method that is registered to this Command.</span>
</TD>
</TR>

<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>void&nbsp;</CODE></FONT></TD>
<TD>
<CODE><B><a href="#Execute(object)">Execute</a></B>(object parameter)</CODE>
<BR>
<span class="Indented">Calls the method that is registered to this Command.</span>
</TD>
</TR>
</TABLE>
&nbsp;

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="BaseCommand(Action)"><!-- --></A><H3>
BaseCommand</H3>
<CODE>public <B>BaseCommand</B>(<A HREF="http://msdn.microsoft.com/en-us/library/system.action%28v=vs.110%29.aspx" target="_blank" title="System.Action">Action</A> execute)</CODE>
<p class="Indented">Constructor that creates a Command and registers a parameterless method to it.</p>

<div class="Indented">
<B>Parameters:</B>
<p class="Indented">
<CODE>execute</CODE> - Parameterless method.<br>
</p>
</div>

<HR>

<A NAME="BaseCommand(Action,Expression(Func(bool)),INotifyPropertyChanged,Expression(Func(object)))"><!-- --></A><H3>
BaseCommand</H3>
<CODE>public <B>BaseCommand</B>(<A HREF="http://msdn.microsoft.com/en-us/library/system.action%28v=vs.110%29.aspx" target="_blank" title="System.Action">Action</A> execute, <a href="http://msdn.microsoft.com/en-us/library/bb335710%28v=vs.110%29.aspx" target="_blank" title="System.Linq.Expressions.Expression<TDelegate>">Expression</a>&lt;<a href="http://msdn.microsoft.com/en-us/library/bb534960%28v=vs.110%29.aspx" target="_blank" title="System.Func<TResult>">Func</a>&lt;bool&gt;&gt; canExecute, <A HREF="http://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged%28v=vs.110%29.aspx" target="_blank" title="System.ComponentModel.INotifyPropertyChanged">INotifyPropertyChanged</A> owner, params <a href="http://msdn.microsoft.com/en-us/library/bb335710%28v=vs.110%29.aspx" target="_blank" title="System.Linq.Expressions.Expression<TDelegate>">Expression</a>&lt;<a href="http://msdn.microsoft.com/en-us/library/bb534960%28v=vs.110%29.aspx" target="_blank" title="System.Func<TResult>">Func</a>&lt;object&gt;&gt;[] dependsOnProperties)</CODE>
<p class="Indented">Constructor that creates a Command with a <code>CanExecute</code> condition and registers a parameterless method to it.</p>

<div class="Indented">
<B>Parameters:</B>
<p class="Indented">
<CODE>execute</CODE> - Parameterless method.<br>
<CODE>canExecute</CODE> - Condition that defines whether this Command is enabled or not.<br>
<CODE>owner</CODE> - Model or Viewmodel that hosts this Command (and all Properties it depends on).<br>
<CODE>dependsOnProperties</CODE> - List of Properties this Command depends on.<br>
</p>
</div>

<HR>

<A NAME="BaseCommand(Action,Func(bool))"><!-- --></A><H3>
BaseCommand</H3>
<CODE><S>public <B>BaseCommand</B>(<A HREF="http://msdn.microsoft.com/en-us/library/system.action%28v=vs.110%29.aspx" target="_blank" title="System.Action">Action</A> execute, <A HREF="http://msdn.microsoft.com/en-us/library/bb534960%28v=vs.110%29.aspx" target="_blank" title="System.Func<TResult>">Func</A>&lt;bool&gt; canExecute)</S></CODE>
<p class="Indented">Constructor that creates a Command with a <code>CanExecute</code> condition and registers a parameterless method to it.</p>
<p class="Indented Obsolete">Deprecated. Use Constructor <code>BaseCommand(Action execute, Expression&lt;Func&lt;bool&gt;&gt; canExecute, INotifyPropertyChanged owner, params Expression&lt;Func&lt;object&gt;&gt;[] dependsOnProperties)</code> or Model's method <code>CreateCommand(Action execute, Expression&lt;Func&lt;bool&gt;&gt; canExecute, params Expression&lt;Func&lt;object&glt;&gt;[] dependsOnProperties)</code> instead.</p>

<div class="Indented">
<B>Parameters:</B>
<p class="Indented">
<CODE>execute</CODE> - Parameterless method.<br>
<CODE>canExecute</CODE> - Condition that defines whether this Command is enabled or not.<br>
</p>
</div>

<HR>

<A NAME="BaseCommand(Action(object))"><!-- --></A><H3>
BaseCommand</H3>
<CODE>public <B>BaseCommand</B>(<A HREF="http://msdn.microsoft.com/en-us/library/018hxwa8%28v=vs.110%29.aspx" target="_blank" title="System.Action<T>">Action</A>&lt;object&gt; execute)</CODE>
<p class="Indented">Constructor that creates a Command and registers a method with one parameter of type <code>object</code> to it.</p>

<div class="Indented">
<B>Parameters:</B>
<p class="Indented">
<CODE>execute</CODE> - Method with one parameter of type <code>object</code>.<br>
</p>
</div>

<HR>

<A NAME="BaseCommand(Action,Expression(Func(object,bool)),INotifyPropertyChanged,Expression(Func(object)))"><!-- --></A><H3>
BaseCommand</H3>
<CODE>public <B>BaseCommand</B>(<A HREF="http://msdn.microsoft.com/en-us/library/018hxwa8%28v=vs.110%29.aspx" target="_blank" title="System.Action<T>">Action</A>&lt;object&gt; execute, <a href="http://msdn.microsoft.com/en-us/library/bb335710%28v=vs.110%29.aspx" target="_blank" title="System.Linq.Expressions.Expression<TDelegate>">Expression</a>&lt;<a href="http://msdn.microsoft.com/en-us/library/bb534960%28v=vs.110%29.aspx" target="_blank" title="System.Func<TResult>">Func</a>&lt;object, bool&gt;&gt; canExecute, <A HREF="http://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged%28v=vs.110%29.aspx" target="_blank" title="System.ComponentModel.INotifyPropertyChanged">INotifyPropertyChanged</A> owner, params <a href="http://msdn.microsoft.com/en-us/library/bb335710%28v=vs.110%29.aspx" target="_blank" title="System.Linq.Expressions.Expression<TDelegate>">Expression</a>&lt;<a href="http://msdn.microsoft.com/en-us/library/bb534960%28v=vs.110%29.aspx" target="_blank" title="System.Func<TResult>">Func</a>&lt;object&gt;&gt;[] dependsOnProperties)</CODE>
<p class="Indented">Constructor that creates a Command with a <code>CanExecute</code> condition and registers a method with one parameter of type <code>object</code> to it.</p>

<div class="Indented">
<B>Parameters:</B>
<p class="Indented">
<CODE>execute</CODE> - Method with one parameter of type <code>object</code>.<br>
<CODE>canExecute</CODE> - Condition that defines whether this Command is enabled or not.<br>
<CODE>owner</CODE> - Model or Viewmodel that hosts this Command (and all Properties it depends on).<br>
<CODE>dependsOnProperties</CODE> - List of Properties this Command depends on.<br>
</p>
</div>

<HR>

<A NAME="BaseCommand(Action(object),Predicate(object))"><!-- --></A><H3>
BaseCommand</H3>
<CODE><S>public <B>BaseCommand</B>(<A HREF="http://msdn.microsoft.com/en-us/library/018hxwa8%28v=vs.110%29.aspx" target="_blank" title="System.Action<T>">Action</A>&lt;object&gt; execute, <A HREF="http://msdn.microsoft.com/en-us/library/bfcke1bz%28v=vs.110%29.aspx" target="_blank" title="System.Predicate<T>">Predicate</A>&lt;object&gt; canExecute)</S></CODE>
<p class="Indented">Constructor that creates a Command with a <code>CanExecute</code> condition and registers a method with one parameter of type <code>object</code> to it.</p>
<p class="Indented Obsolete">Deprecated. Use Constructor <code>BaseCommand(Action execute, Expression&lt;Func&lt;object, bool&gt;&gt; canExecute, INotifyPropertyChanged owner, params Expression&lt;Func&lt;object&gt;&gt;[] dependsOnProperties)</code> or Model's method <code>CreateCommand(Action execute, Expression&lt;Func&lt;object, bool&gt;&gt; canExecute, params Expression&lt;Func&lt;object&gt;&gt;[] dependsOnProperties)</code> instead.</p>

<div class="Indented">
<B>Parameters:</B>
<p class="Indented">
<CODE>execute</CODE> - Method with one parameter of type <code>object</code>.<br>
<CODE>canExecute</CODE> - Condition that defines whether this Command is enabled or not.<br>
</p>
</div>

<!-- ========= METHOD DETAIL ======== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="NotifyCanExecuteChanged()"><!-- --></A><H3>
NotifyCanExecuteChanged</H3>
<CODE>public void <B>NotifyCanExecuteChanged</B>()</CODE>
<p class="Indented">Fires the <code>CanExecuteChanged</code> event, forcing the <code>CanExecute</code> condition to be re-evaluated.</p>

<HR>

<A NAME="CanExecute()"><!-- --></A><H3>
CanExecute</H3>
<CODE>public bool <B>CanExecute</B>()</CODE>
<p class="Indented">Evaluates the <code>CanExecute</code> condition.</p>

<div class="Indented">
<B>Returns:</B>
<p class="Indented">
TRUE if the Command shall be enabled, FALSE otherwise.
</p>
</div>

<HR>

<A NAME="CanExecute(object)"><!-- --></A><H3>
CanExecute</H3>
<CODE>public bool <B>CanExecute</B>(object parameter)</CODE>
<p class="Indented">Evaluates the <code>CanExecute</code> condition.</p>

<div class="Indented">
<B>Parameters:</B>
<p class="Indented">
<CODE>parameter</CODE> - Parameter to be passed to the <code>CanExecute</code> condition.<br>
</p>
</div>

<div class="Indented">
<B>Returns:</B>
<p class="Indented">
TRUE if the Command shall be enabled, FALSE otherwise.
</p>
</div>

<HR>

<A NAME="Execute()"><!-- --></A><H3>
Execute</H3>
<CODE>public void <B>Execute</B>()</CODE>
<p class="Indented">Calls the method that is registered to this Command.</p>

<HR>

<A NAME="Execute(object)"><!-- --></A><H3>
Execute</H3>
<CODE>public void <B>Execute</B>(object parameter)</CODE>
<p class="Indented">Calls the method that is registered to this Command.</p>

<div class="Indented">
<B>Parameters:</B>
<p class="Indented">
<CODE>parameter</CODE> - Parameter to be passed to the <code>CanExecute</code> condition.<br>
</p>
</div>

<!-- ========= END OF CLASS DATA ========= -->
<HR>

</body>
</HTML>